<%@ include file="/inc/SessionTimeout.inc"%>
<%@ page contentType = "text/html;charset=UTF-8" %>
<%--
 *  File:    KPIConfigFrm.jsp
 *  @Author: TendyHu
 *  Date:    2010/11/04
 *
 *  Copyright (C) 2000 - 2010 Oval Technologies, Inc.
 *  All rights reserved. 
 *
 *  This software is the confidential and proprietary information of Oval 
 *  Technologies, Inc. ("Confidential Information").  You shall not
 *  disclose such Confidential Information and shall use it only in
 *  accordance with the terms of the license agreement you entered into
 *  with Oval.
--%>
<% //--------------------------------------  variant and initialization --%>
<%
  	String strModuleName = "CRM";
  	String privilegeCode = "p0101";
  	
  	String contextPath = request.getContextPath();
%>
<%@ taglib uri="/WEB-INF/oval-tag.tld" prefix="oval" %>
<%@ include file="/inc/Security.inc" %>
  
<%@ include file="/inc/FrmDefault.inc" %>  
<%
    String strOrgid=request.getParameter("orgid");    
    String strLanguagecode=(String)session.getAttribute("languagecode"); 
    String strInfo=request.getParameter("info");
    String strIsNew=request.getParameter("isNew");
        
    String strParam="";
    if( strLanguagecode==null)
        strLanguagecode="cn";
    strParam+="&languagecode="+strLanguagecode;
    
    if(strInfo!=null)
        strParam+="&info="+strInfo;
    if(strIsNew!=null)
        strParam+="&isNew="+strIsNew;
    if(strOrgid!=null)
        strParam+="&orgid="+strOrgid;
    else if(session.getAttribute("saveorgid")!=null)
    {
        strParam+="&orgid="+session.getAttribute("saveorgid");
    }    
      
%>
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<frameset rows="60
,*" frameborder="YES" border="1" framespacing="1" cols="*" bordercolor="#999999"> 
  <frame name="up" src="KPIConfigHeader.jsp?<%= OvalTools.randomURL() %><%=JspHelper.filterNull(strParam)%>" frameborder="NO" scrolling="NO">
  <%if(strInfo!=null && strInfo.equalsIgnoreCase("Y")){%>
  <frame name="down1" src="KPIConfigMain.jsp?<%= OvalTools.randomURL() %><%=JspHelper.filterNull(strParam)%>" scrolling="yes" frameborder="NO" noresize >
  <frame name="down1" src="KPICalDetailSetting.jsp?<%= OvalTools.randomURL() %><%=JspHelper.filterNull(strParam)%>" scrolling="yes" frameborder="NO" noresize >  
  <%}else{%>
  <frame name="down1" src="KPIConfigMain.jsp?<%= OvalTools.randomURL() %><%=JspHelper.filterNull(strParam)%>" scrolling="yes" frameborder="NO" noresize >
  <%}%>
</frameset>
<noframes> 
<body>
</body>
</noframes> 
</html>



